/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Mercury.Entity.SystemModels;

namespace Mercury.Entity.DomainModels
{
    [Entity(TableCnName = "WCS调度",TableName = "WCSDispatch")]
    public partial class WCSDispatch:BaseEntity
    {
        /// <summary>
       ///主键
       /// </summary>
       [Key]
       [Display(Name ="主键")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       [Required(AllowEmptyStrings=false)]
       public string Id { get; set; }

       /// <summary>
       ///起点
       /// </summary>
       [Display(Name ="起点")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string StartingPoint { get; set; }

       /// <summary>
       ///终点
       /// </summary>
       [Display(Name ="终点")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string TargetPoint { get; set; }

       /// <summary>
       ///料箱号
       /// </summary>
       [Display(Name ="料箱号")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string MaterialBoxNo { get; set; }

       /// <summary>
       ///执行状态
       /// </summary>
       [Display(Name ="执行状态")]
       [MaxLength(50)]
       [Column(TypeName="nvarchar(50)")]
       [Editable(true)]
       public string State { get; set; }

       /// <summary>
       ///创建时间
       /// </summary>
       [Display(Name ="创建时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? CreationTime { get; set; }

       /// <summary>
       ///下发时间
       /// </summary>
       [Display(Name ="下发时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? IssuanceTime { get; set; }

       /// <summary>
       ///WCS返回时间
       /// </summary>
       [Display(Name ="WCS返回时间")]
       [Column(TypeName="datetime")]
       [Editable(true)]
       public DateTime? WCSReturnTime { get; set; }

       /// <summary>
       ///描述
       /// </summary>
       [Display(Name ="描述")]
       [MaxLength(200)]
       [Column(TypeName="nvarchar(200)")]
       [Editable(true)]
       public string LocationDescription { get; set; }

       
    }
}